#!/usr/bin/env python
#Boa:PyApp:main

import smtplib

def main():
	print "enviando email"
	return
	to = 'sussancajadiaria@gmail.com'
	gmail_user = 'sussancentral@gmail.com'
	gmail_pwd = 'yourpassword'
	smtpserver = smtplib.SMTP("smtp.gmail.com",587)
	smtpserver.ehlo()
	smtpserver.starttls()
	smtpserver.ehlo
	smtpserver.login(gmail_user, gmail_pwd)
	header = 'To:' + to + '\n' + 'From: ' + gmail_user + '\n' + 'Subject:testing \n'
	print header
	msg = header + '\n this is test msg from mkyong.com \n\n'
	smtpserver.sendmail(gmail_user, to, msg)
	print 'done!'
	smtpserver.close()
    
if __name__ == '__main__':
    main()
